﻿[
  {
      "type": "bogus",
      "model": "bogus",
      "label": "bogus"
  },
  {
      "type": "button",
      "model": "button",
      "label": "button"
  },
  {
      "type": "checkbox",
      "model": "checkbox",
      "label": "checkbox"
  },
  {
      "type": "checklist",
      "model": "checklist",
      "label": "checklist",
      "options": {
          "first": {
              "label": "first option"
          },
          "second": {
              "label": "second option",
              "isOn": "on",
              "isOff": "off"
          }
      }
  },
  {
      "type": "color",
      "model": "color",
      "label": "color"
  },
  {
      "type": "date",
      "model": "date",
      "label": "date",
      "placeholder": "date"
  },
  {
      "type": "datetime",
      "model": "datetime",
      "label": "datetime",
      "placeholder": "datetime"
  },
  {
      "type": "datetime-local",
      "model": "datetime-local",
      "label": "datetime-local",
      "placeholder": "datetime-local"
  },
  {
      "type": "email",
      "model": "email",
      "label": "email",
      "placeholder": "email"
  },
  {
      "type": "file",
      "model": "file",
      "label": "file",
      "multiple": true
  },
  {
      "type": "fieldset",
      "model": "fieldset",
      "label": "fieldset",
      "fields": [
        {
            "type": "hidden",
            "model": "hidden",
            "label": "hidden",
            "val": "hidden"
        },
        {
            "type": "image",
            "model": "image",
            "label": "image",
            "source": "http://angularjs.org/img/AngularJS-large.png"
        },
        {
            "type": "checklist",
            "model": "nested.checklist",
            "label": "nested.checklist",
            "options": {
                "first": {
                    "label": "first option"
                },
                "second": {
                    "label": "second option",
                    "isOn": "on",
                    "isOff": "off"
                }
            }
        },
        {
            "type": "legend",
            "model": "legend",
            "label": "legend"
        },
        {
            "type": "month",
            "model": "month",
            "label": "month",
            "placeholder": "month"
        },
        {
            "type": "number",
            "model": "number",
            "label": "number",
            "placeholder": "number"
        },
        {
            "type": "password",
            "model": "password",
            "label": "password",
            "placeholder": "password"
        },
        {
            "type": "radio",
            "model": "radio",
            "label": "radio",
            "values": {
                "first option": "first option",
                "second": "second option",
                "third": "third option",
                "fourth": "fourth option",
                "fifth": "fifth option"
            }
        },
        {
            "type": "range",
            "model": "number",
            "label": "range",
            "val": 42,
            "minValue": -42,
            "maxValue": 84
        },
        {
            "type": "text",
            "model": "deeply.nested.model.property",
            "label": "deeply.nested.model.property"
        }
      ]
  },
  {
      "type": "reset",
      "model": "reset",
      "label": "reset"
  },
  {
      "type": "search",
      "model": "search",
      "label": "search",
      "placeholder": "search"
  },
  {
      "type": "select",
      "model": "select",
      "label": "select",
      "empty": "nothing selected",
      "options": {
          "first": {
              "label": "first option"
          },
          "second": {
              "label": "second option",
              "group": "first group"
          },
          "third": {
              "label": "third option",
              "group": "second group"
          },
          "fourth": {
              "label": "fourth option",
              "group": "first group"
          },
          "fifth": {
              "label": "fifth option"
          },
          "sixth": {
              "label": "sixth option",
              "group": "second group"
          },
          "seventh": {
              "label": "seventh option"
          },
          "eighth": {
              "label": "eighth option",
              "group": "first group"
          },
          "ninth": {
              "label": "ninth option",
              "group": "second group"
          },
          "tenth": {
              "label": "tenth option"
          }
      }
  },
  {
      "type": "submit",
      "model": "submit",
      "label": "submit"
  },
  {
      "type": "tel",
      "model": "tel",
      "label": "tel",
      "placeholder": "tel"
  },
  {
      "type": "text",
      "model": "text",
      "label": "text",
      "placeholder": "text"
  },
  {
      "type": "textarea",
      "model": "textarea",
      "label": "textarea",
      "placeholder": "textarea",
      "splitBy": "\n",
      "val": ["This array should be", "separated by new lines"]
  },
  {
      "type": "time",
      "model": "time",
      "label": "time",
      "placeholder": "time"
  },
  {
      "type": "url",
      "model": "url",
      "label": "url",
      "placeholder": "url"
  },
  {
      "type": "week",
      "model": "week",
      "label": "week",
      "placeholder": "week"
  },
  {
      "type": "number",
      "model": "coordinates.lat",
      "label": "coordinates.lat",
      "val": 36.5
  },
  {
      "type": "number",
      "model": "coordinates.lon",
      "label": "coordinates.lon",
      "val": -0.15
  }
]
